﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Common_ChartControl : System.Web.UI.UserControl
{
    public string PageId { get; set; }

    public HZ.Supervise.Web.WebService.ChartConfig webChart { get; set; }

    protected void Page_Load(object sender, EventArgs e)
    {
        
    }

    public void EntranceChart()
    {
        CreateChart();
    }

    private void CreateChart()
    {
        ChartInfo.SerChart = webChart;

        img.ImageUrl = "~/Commonchart.aspx?_pageId="+PageId+"";
    }
}
